//引入封装的请求服务
import { POST } from '@/services/request.js';

// 导出接口
const base = {
    home(data = {}) {
        return POST({
            url: '/product/product/home',
            params: data
        })
    },
    productinfo(data = {}) {
        return POST({
            url: '/product/product/info',
            params: data
        })
    },
    productindex(data = {}) {
        return POST({
            url: '/product/product/index',
            params: data
        })
    },
    productcollect(data={}){
        return POST({
            url: '/product/product/collect',
            params: data
        })
    },
    productconsult(data={}){
        return POST({
            url: '/product/product/consult',
            params: data
        })
    }

}

export default base